{% load i18n %}
{% get_available_languages as LANGUAGES %}
{% get_current_language as LANGUAGE_CODE %}
		<form id="setLangForm" action="/i18n/setlang/" method="post">
			<p>
				<select name="language" onchange="javascript:$('#setLangForm').submit();">
				{% for lang in LANGUAGES %}
				<option value="{{ lang.0 }}"{% ifequal LANGUAGE_CODE lang.0 %} selected {% endifequal %}>
				    {{ lang.1 }}
				</option>
				{% endfor %}
				</select>
			</p>
		</form>
